package com.chb.command;

/**
 * @author chihb
 * @create-time 2024/10/27 8:01
 * @description
 */
public class Invoker {
    private Command command;
    public void setCommand(Command command)
    {
        this.command = command;
    }
    public void pressButton()
    {
        command.execute();
    }
}
